﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace J1
{
    class Student
    {
        private string number;
        private string name;
        private string age;

        

        public string Number { get {return this.number; } set {this.number = value; } }
        public string Name { get { return this.name; } set { this.name = value; } }
        public string Age { get { return this.age; } set { this.age = value; } }
        public Student(string number, string name, string age)
        {
            this.Number = number;
            this.Name = name;
            this.Age = age;
        }
        public override string ToString()
        {
            return $"学号{Number}、姓名{Name}、年龄{Age}";
        }
    }
}
